package com.shelpe.services.scheduler.item.keyword;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.SkipListener;
import org.springframework.stereotype.Component;

import com.shelpe.services.scheduler.po.Adgroups;
import com.shelpe.services.scheduler.po.SyncLog;

@Component("wirelessQScoreSkipListener")
public class WirelessQScoreSkipListener implements SkipListener<Adgroups, SyncLog>{

	private static final Logger logger = LoggerFactory.getLogger(WirelessQScoreSkipListener.class);
	
	@Override
	public void onSkipInRead(Throwable t) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onSkipInWrite(SyncLog item, Throwable t) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onSkipInProcess(Adgroups item, Throwable t) {
		// TODO Auto-generated method stub
		logger.info(">>>WirelessQScoreSkipListener, error: {}", t);
	}

}
